网页跳转代码`求救

来源:百度知道 编辑:UC知道 时间:2024/07/02 02:58:27
用HTML自动跳转到另一个HTML 页面

我要求可以设置几秒跳转,

最好有个示例
谢谢你,还有一个小小的问题,

就是如何在页面显示 还有10秒跳转,还有9秒跳转 还有9秒 还有7秒

怎么显示

<html>
<head>
<meta http-equiv="refresh" content="2;url=http://www.zhiguangpc.com">
</head>
<body>

</body>
</html>

其中url是网址,content是时间按秒计算!

你的问题补充稍微麻烦点儿,帮人帮到底吧!不过还是琢磨了一段时间!
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>自动跳转</title>
<style type="text/css">
<!--
.border {
border:0px;
margin: 0px;
}
-->
</style>
</head>

<body onload="setTimeout('show_secs()',1)">
<SCRIPT LANGUAGE="JAVASCRIPT">
<!--
timer=10;
var timerID;
function show_secs () // show the time user spent on the side
{